package com.kgc.scd.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created On : 2022/11/14 0014.
 * <p>
 * Author : shiguangchuan
 * <p>
 * Description: 历史足迹实体类
 */
@Data
@TableName("shop_history")
public class ShopHistory {

    /**
     * 足迹id
     */
    private String id;

    /**
     * 商品id
     */
    private String goodsId;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 足迹记录时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date historyTime;

}
